package com.xyazm.order.service;

import com.xyazm.common.page.PagingInfo;
import com.xyazm.order.domain.dto.OrderDetailDTO;
import com.xyazm.order.domain.dto.OrderListDTO;
import com.xyazm.order.domain.param.QueryOrderDetailParam;
import com.xyazm.order.domain.param.QueryOrderParam;

/**
 * 订单中心-订单相关查询
 * @Author: xuyou
 * @Date: 2022/7/21 15:15
 */
public interface IOrderQueryService {

    /**
     * 查询订单列表 2.0
     * @author xuyou
     * @date: 2022/6/24 11:10
     * @param: param
     */
    PagingInfo<OrderListDTO> listOrders(QueryOrderParam param);

    /**
     * 查询订单详情 2.0
     * @author xuyou
     * @date: 2022/6/24 14:58
     * @param: orderId
     */
    OrderDetailDTO orderDetail(QueryOrderDetailParam param);


}
